
package mypackage;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each
 * Java content interface and Java element interface
 * generated in the mypackage package.
 * <p>An ObjectFactory allows you to programatically
 * construct new instances of the Java representation
 * for XML content. The Java representation of XML
 * content can consist of schema derived interfaces
 * and classes representing the binding of schema
 * type definitions, element declarations and model
 * groups.  Factory methods for each of these are
 * provided in this class.
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _Exception_QNAME = new QName("http://oldwebservice.com/wsdl", "Exception");
    private final static QName _GetOrderByAll_QNAME = new QName("http://oldwebservice.com/wsdl", "GetOrderByAll");
    private final static QName _GetOrderByAllResponse_QNAME = new QName("http://oldwebservice.com/wsdl", "GetOrderByAllResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: mypackage
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link GetOrderByAll }
     */
    public GetOrderByAll createGetOrderByAll() {
        return new GetOrderByAll();
    }

    /**
     * Create an instance of {@link GetOrderByAllResponse }
     */
    public GetOrderByAllResponse createGetOrderByAllResponse() {
        return new GetOrderByAllResponse();
    }

    /**
     * Create an instance of {@link Exception }
     */
    public Exception createException() {
        return new Exception();
    }

    /**
     * Create an instance of {@link Order }
     */
    public Order createOrder() {
        return new Order();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Exception }{@code >}}
     */
    @XmlElementDecl(namespace = "http://oldwebservice.com/wsdl", name = "Exception")
    public JAXBElement<Exception> createException(Exception value) {
        return new JAXBElement<Exception>(_Exception_QNAME, Exception.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetOrderByAll }{@code >}}
     */
    @XmlElementDecl(namespace = "http://oldwebservice.com/wsdl", name = "GetOrderByAll")
    public JAXBElement<GetOrderByAll> createGetOrderByAll(GetOrderByAll value) {
        return new JAXBElement<GetOrderByAll>(_GetOrderByAll_QNAME, GetOrderByAll.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetOrderByAllResponse }{@code >}}
     */
    @XmlElementDecl(namespace = "http://oldwebservice.com/wsdl", name = "GetOrderByAllResponse")
    public JAXBElement<GetOrderByAllResponse> createGetOrderByAllResponse(GetOrderByAllResponse value) {
        return new JAXBElement<GetOrderByAllResponse>(_GetOrderByAllResponse_QNAME, GetOrderByAllResponse.class, null, value);
    }

}
